package com.lmt_15;

import org.apache.commons.io.output.WriterOutputStream;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class PropertiesTest2 {
    public static void main(String[] args) throws Exception {
         Properties properties = new Properties();
         properties.setProperty("张三","12343");
         properties.setProperty("里斯","ewrfr");
         properties.setProperty("网无","788");
         properties.store(new FileWriter("src/com/lmt_15/2.properties"),"store");

    }
}
